Method of displaying video signal phase characteristics

ABSTRACT

A method of displaying phase characteristics of a video signal is employed in a system that determines the phase angle between the color synchronization burst signal and horizontal synchronization pulses of a color video signal. The method includes selecting an image location on a display screen of video monitor and forming at the image location an image representing the value of the phase angle. The image is formed with a length along one axis passing through the image location and with a light intensity. One of the length or the light intensity is proportional to the value of the phase angle to provide an indication of the value.

This is a division of application No. 07/285,775, filed Dec. 16, 1988,which is now U.S. Pat. No. 4,941,035 which is acontinuation-in-part ofU.S. patent application Ser. No. 07/017,314, filed Feb. 20, 1987 nowU.S. Pat. No. 4,792,845.

TECHNICAL FIELD

The present invention relates to systems for processing color videosignals and, in particular, to a system that measures the phaserelationship between the color synchronization burst signal and thehorizontal synchronization pulse of a color video signal.

BACKGROUND OF THE INVENTION

The EIA RS-170A tentative standard (1977) for NTSC-based televisionsystems sets the period of the horizontal synchronization pulse train at227.5 times that of the color subcarrier signal. Since an integerrelationship does not exist between the periods of these signals, thephase angle between the color subcarrier and horizontal synchronizationpulse train shifts by 180° for each successive horizontal scan line.Moreover, since 525 horizontal scan lines define a color frame (i.e.,two color fields), the phase angle between the color subcarrier and thehorizontal synchronization pulse train also shifts by 180° for eachsuccessive color frame. The NTSC-based color television standardestablishes, therefore, a two-color frame (i.e., four-color field)sequence of phase angles between the color subcarrier and the horizontalsynchronization pulse train.

The editing of a single video signal or the multiplexing of multipleasynchronous video signals requires the synchronization or matching ofthe phase angle sequences of the components of the resulting compositevideo signal to provide a continuous series of video images with smoothtransitions between them. The absence of matching of the phase anglesequences in, for example, a video tape recorder (VTR) can createproblems that manifest themselves in the following ways. Whenever thereis a mismatch between the color frame sequence of a color video signalbeing edited and the timing sequence of the color video reference signalin the VTR, the recording of the color video signal could be delayed ormight not take place at all. Whenever there is a phase differencebetween successive color subcarrier signals of the color video signalsprovided by separate signal sources during a multiplexing operation,there could occur a momentary shift in color at the time the signals areswitched. Whenever the phases of the color subcarrier signals are thesame but the color frame sequences are mismatched, there could occur ahorizontal jump in the picture at the time the signals are switched.

The maintenance of the proper phase angle between the color subcarrierand horizontal synchronization pulse train of a color video referencesignal is important to the operation of a television studio. A phaseangle offset could cause similar offsets in equipment receiving thereference signal, thereby resulting in any one of the video signalprocessing errors described hereinabove. The phase and frequency of thecolor subcarrier signal are the same as those of the colorsynchronization burst signal, which is located on the back porch of ahorizontal blanking pulse. The phase angle between the color subcarrierand the horizontal synchronization pulse can be determined, therefore,by measuring with a phase detector the phase angle between the colorsynchronization burst signal and the horizontal synchronization pulse.

A phase detector of conventional design employs a phase-locked loop(PLL), which phase locks the output signal of a voltage-controlledoscillator to the horizontal synchronization pulse. A determination ofthe phase relationship between the color synchronization burst andvoltage-controlled oscillator output signal provides an indication ofthe phase angle between the color synchronization burst and thehorizontal synchronization pulse. Since it must operate in the presenceof jitter or phase noise on the color video signal, a PLL is typicallydesigned to have a relatively large acquisition time that would makedifficult the phase measurement of horizontal synchronization pulses inconsecutive scan lines.

SUMMARY OF THE INVENTION

An object of the present invention is, therefore, to provide asimplified phase detector for measuring the phase relationship betweenthe color synchronization burst signal and horizontal synchronizationpulses of a color video signal.

Another object of this invention is to provide such a phase detectorthat is operable to continuously measure the phase angles between thecolor subcarrier and successive pulses in the horizontal synchronizationpulse train of a color video signal.

A further object of this invention is to provide such a phase detectorthat indicates whether the color frame sequences of two color videosignals are matched.

The present invention constitutes a method and electrical circuit fordetermining the phase relationship between the color synchronizationburst signal and horizontal synchronization pulses of a color videosignal. This is accomplished by regenerating on a line-by-line basis acolor subcarrier signal which has a fixed phase relative to the leadingedge of a horizontal synchronization pulse. A phase comparison is thenmade between the regenerated color subcarrier signal and the colorsynchronization burst signal to develop a signal that represents theamount of phase error. The phase error signal is sampled to determine anaverage phase error for successive lines of the color video signal.

Simultaneously, a phase comparison is also made between a 90°phase-displaced version of the color synchronization burst signal andthe regenerated color subcarrier signal to provide a quadrature phaseerror signal. The quadrature phase error signal can be compared to acolor video reference signal to determine whether they have the samecolor frame.

The phase error signal is applied to the X-axis of an X-Y display deviceso that the amount of deflection in the X direction indicates the amountof phase error. A dot at a reference location (e.g., the center of thedisplay screen) indicates no phase error. A line image of increasinglength deflected up or down by an increasing amount relative to thereference location indicates either positive or negative phase error ofincreasing amount. Color frame mismatch between two signals is displayedby flashing the dot or line image at a 1 Hz rate.

Additional objects and advantages of the present invention will beapparent from the following detailed description of a preferredembodiment thereof, which proceeds with reference to the accompanyingdrawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of signal processing components of the colorvideo signal phase detector of the present invention.

FIG. 2 is a diagram showing NTSC-type color subcarrier signal andhorizontal synchronization pulse train waveforms.

FIGS. 3A and 3B show a schematic electrical circuit diagram of apreferred embodiment of the color video signal phase detector circuit ofthe present invention.

FIG. 4A is a diagram showing a preferred display image for indicatingthe phase angle between the color synchronization burst signal and apair of successive horizontal synchronization pulses.

FIG. 4B is a diagram showing the composite outline of the preferreddisplay images formed for all phase angles specified above for FIG. 4A.

FIGS. 5A and 5B show vector representations of U and V encoding signalsgenerated by the phase detector circuit of FIGS. 3A and 3B in accordancewith a PAL-based color video signal.

FIG. 6 is a flow diagram representing a method by which the phasedetector circuit of FIGS. 3A and 3B acquires samples of a PAL-basedcolor video signal.

FIGS. 7A and 7B are diagrams of alternative display images forindicating the phase angles between the color synchronization burstsignal and a horizontal synchronization pulse train.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENT

With reference to FIG. 1, color video signal phase detector 10 of thepresent invention provides at its output terminals 12 and 14complementary (i.e., 90° phase-displaced) analog voltage signals whoseamplitudes indicate the phase angle between the color synchronizationburst signal and a horizontal synchronization pulse of a color videosignal. The horizontal synchronization pulse is applied to a voltagethreshold detection or trigger circuit 16, which generates at its output18 a trigger signal whenever the leading edge of the pulse crosses athreshold voltage whose level is set in the manner described below. Thetrigger signal is applied to and activates a gated oscillator circuit20, which provides a reference subcarrier signal to a first input 22 ofa first mixer circuit 24 and a first input 26 of a second mixer 28. Thefrequency of the reference subcarrier signal is preferably equal to, butcan be within about 15 KHz of, the nominal 3.58 MHz frequency of thecolor subcarrier signal. The phase of the reference subcarrier signal isfixed relative to the voltage threshold level of the leading edge of thehorizontal synchronization pulse.

The color synchronization burst signal is applied to a second input 30of first mixer circuit 24, which mixes the reference subcarrier signaland the color synchronization burst signal to provide at output 12 afirst output signal whose amplitude represents the sine of the phaseangle between the reference subcarrier and color synchronization burstsignals. Since the reference subcarrier signal has a fixed phaserelative to the horizontal synchronization pulse, the amplitude of thefirst output signal corresponds to the phase angle between the colorsynchronization burst signal and the horizontal synchronization pulse.

A phase shifting circuit 32 receives the color synchronization burstsignal and provides a 90° phase-displaced version thereof to a secondinput 34 of second mixer circuit 28. Mixer circuit 28 mixes the 90°phase-displaced color synchronization burst signal and the referencesubcarrier signal to provide at output 14 a second output signal whoseamplitude represents the value of the cosine of the phase angle betweenthe phase-displaced color synchronization burst and reference subcarriersignals. The second output signal corresponds to the complementaryfunction of the phase angle between the color synchronization burstsignal and the horizontal synchronization pulse. The first and secondoutput signals provide on the respective output terminals 12 and 14,therefore, a complete determination of the phase angle between the colorsynchronization burst signal and the horizontal synchronization pulse.

The frequency difference between the 3.58 MHz color synchronizationburst signal and the reference subcarrier signal is not critical to theoperation of phase detector 10. The reason is that the colorsynchronization burst signal is of 2.5 microsecond duration, which, forexample, represents about 1/26 of one cycle of a beat frequency signalof 15 KHz present at the output terminals 12 and 14 of the respectivemixers 22 and 28. The frequency of the reference subcarrier signal can,therefore, vary about ±15 KHz and not affect the performance of phasedetector 10. The output signals appearing on output terminals 12 and 14are essentially DC voltage levels.

FIG. 2 shows the timing relationship between a color subcarrier signal38 and a horizontal synchronization pulse train 40 of an NTSC-basedcolor video signal. FIG. 2 depicts only two successive horizontalblanking pulses 42a and 42b and indicates the 227.5-to-1 frequencyrelationship between the color subcarrier signal and the horizontalsynchronization pulse train. Horizontal blanking pulses 42a and 42b havesimilar signal components identified by identical reference numerals andlower case suffixes corresponding to the pertinent blanking pulse. Thefollowing description is directed only to horizontal blanking pulse 42a.

Horizontal blanking pulse 42a includes a front porch portion 44a and aback porch portion 46a, which are separated by a horizontalsynchronization pulse 48a having a tip portion 50a. A colorsynchronization burst signal 52a having the same phase and frequency asthose of color subcarrier signal 38 is located on back porch portion 46aof horizontal blanking pulse 42a. A leading edge transition 54a occursbetween front porch portion 44a and tip portion 50a. The voltage levellocated precisely midway along leading edge 54a is defined as atransition or reference voltage V_(50%).

The phase angle between color subcarrier signal 38 and horizontalsynchronization pulse 48a is measured relative to the reference voltageV_(50%) and is 0°. As a consequence of the 227.5-to-1 frequencyrelationship between color subcarrier signal 38 and horizontalsynchronization pulse train 40, the phase angle between color subcarriersignal 38 and the next succeeding horizontal synchronization pulse 48bwould be 180°. Since color synchronization burst signal 52a has the samephase and frequency as those of color subcarrier signal 38, the phaseangle between color synchronization burst signal 52a and horizontalsynchronization pulse 48a is 0° and the phase angle between colorsynchronization burst signal 52b and horizontal synchronization pulse48b is 180°.

FIGS. 3A and 3B show an electrical circuit schematic diagram of phasedetector 10, which, unless otherwise indicated, employs logic circuitryof the TTL type. Phase detector 10 receives a color video source signal,which represents, for example, a signal to be edited, and a color videoreference signal, which represents a television studio reference signal.The video source signal is applied to an input 56 of a multiplexer 58and to an input 60 of a first synchronization pulse separating circuit62, and the video reference signal is applied to an input 64 ofmultiplexer 58 and to an input 66 of a second synchronization pulseseparating circuit 68. Pulse separating circuits 62 and 68 comprise partof a timing circuit 70 which develops a multiplexer selector signal thatis applied to the select input 72 of multiplexer 58 to provide at itsoutput 74 one of the two signals applied to the inputs 56 and 64thereof. The criteria for selecting these signals are set forth below.

First pulse separating circuit 62 receives the color video source signaland provides to an input 76 of a first or source timing subcircuit 78the composite synchronization signal, which includes the horizontalsynchronization signal, the vertical synchronization signal, and theequalizing pulses of the color video source signal. Second pulseseparating circuit 68 receives the color video reference signal andprovides to an input 80 of a second or reference timing subcircuit 82the composite synchronization signal, which includes the horizontalsynchronization signal, the vertical synchronization signal, and theequalizing pulses of the color video reference signal.

Timing subcircuit 82 provides at outputs 84 and 86 the timing signalscorresponding to the starting points of each color frame and of eachcolor field, respectively, of the color video reference signal. Timingsubcircuit 78 receives the timing signals provided on outputs 84 and 86of timing subcircuit 82 and develops the multiplexer selector signal onan output 88. The multiplexer selector signal is applied to select input72 of multiplexer 58 to alternately provide at its output 74 the colorvideo source signal and the color video reference signal. The selectorsignal in a first logic state provides the color video source signal onoutput 74 of multiplexer 58. The selector signal in a second logic stateprovides the color video reference signal on output 74 of multiplexer58.

Skilled persons would appreciate that because NTSC-based color videosignals employ a four-color field sequence, it is critical that thesamples of the color video source and reference signals correspond tothe appropriate color field within the sequence. The first and secondlogic states of the multiplexer selector signal cause the signalsapplied to the respective inputs 56 and 64 of multiplexer 58 to appearon its output 74 in a manner that provides a maximum amount of time forthe circuit components of phase detector 10 to settle before thesampling of the next succeeding signal. The selector input 90 ofmultiplexer 92 also receives the multiplexer selector signal from output88 of timing subcircuit 78 and, therefore, operates in synchronism withmultiplexer 58.

Pulse separating circuit 62 provides to inputs 94 and 96 of multiplexer92 the tip portion of the horizontal synchronization pulse and the backporch portion of the horizontal blanking pulse, respectively, of thecolor video source signal. Similarly, pulse separating circuit 68provides to inputs 98 and 100 of multiplexer 92 the tip portion of thehorizontal synchronization pulse and the back porch portion of thehorizontal blanking pulse, respectively, of the color video referencesignal. Whenever select input 90 of multiplexer 92 receives themultiplexer selector signal in the first logic state, multiplexer 92transmits to its outputs 104 and 106 the tip portion of the horizontalsynchronization pulse and the back porch portion of the horizontalblanking pulse, respectively, of the color video source signal. Wheneverselect input 90 of multiplexer 92 receives the select signal in thesecond logic state, multiplexer 92 transmits to outputs 104 and 106 therespective tip portion of the horizontal synchronization pulse and theback porch portion of the horizontal blanking pulse, respectively, ofthe color video reference signal. The signals appearing on the outputsof multiplexers 58 and 92 are processed by voltage threshold detectioncircuit 16 in the following manner. For purposes of illustration only,the following descriptions of the operation of detection circuit 16 andgated oscillator 20 are directed to the processing of the color videosource signal, i.e., when the multiplexer selector signal on output 88of timing subcircuit 78 is in the first logic state. It will beappreciated that the following description is also applicable to theprocessing of the color video reference signal.

Whenever the multiplexer selector signal in the first logic state isapplied to its select input 72, multiplexer 58 delivers the color videosource signal to its output 74 to which a capacitor 108 of 100 μf isconnected. Capacitor 108 blocks the DC component of the color videosource signal and delivers the remaining signal components to the inputnode 110 of a bandstop or trap circuit 112 of theresistor-inductor-capacitor (RLC) type, which is tuned to about 3.58 MHzand removes the 3.58 MHz color subcarrier signal from the color videosource signal. RLC trap circuit 112 comprises a resistor 114 of 120ohms, an inductor 116 of 15 μH, and a capacitor 118 of 130 pf, the lasttwo of which are connected in series to ground. Removing the colorsubcarrier signal from the color video source signal provides amonochrome video signal on output node 120, which constitutes the inputterminal of voltage threshold detection circuit 16.

The monochrome video signal is transmitted through an input resistor 124of 100 ohms to the analog inputs 126 and 128 of respectivesample-and-hold circuits 130 and 132. Simultaneously, in response to themultiplexer selector signal in the first logic state provided to selectinput 90, multiplexer 92 transmits on outputs 104 and 106 the tipportion of the horizontal synchronization pulse and the back porchportion, respectively, of the color video source signal. The tip portionof the horizontal synchronization pulse is applied to an enable input136 of sample-and-hold circuit 130. Since multiplexers 58 and 92 operatein synchronism, sample-and-hold circuit 130 samples the voltage of thetip portion of the horizontal synchronization pulse. Output 138 ofsample-and-hold circuit 130 provides the voltage of the tip portion to alow pass filter 140 that comprises a resistor 142 of 100 ohms and acapacitor 144 of 0.001 μf, which is connected to ground. Low pass filter140 removes high frequency switching transient voltages from the sampledvoltage of the tip portion of the color video source signal. The backporch portion of the horizontal blanking pulse is applied to an enableinput 148 of sample-and-hold circuit 132. Since multiplexers 58 and 92operate in synchronism, sample-and-hold circuit 132 samples the voltageof the back porch portion of the horizontal blanking pulse. Output 152of sample-and-hold circuit 132 provides the voltage of the back porchportion to a low pass filter 154 whose resistor 156 and capacitor 158values are similar to those and whose operation is analogous to that oflow pass filter 140.

An operational amplifier 160 configured with its output 162 connected toits inverting input 164 forms a voltage follower buffer amplifier, thenoninverting input 166 of which receives from low pass filter 140 thevoltage of the tip portion of the horizontal synchronization pulse andwhich provides a buffered version thereof on its output 162. Anoperational amplifier 168 configured with its output 170 connected toits inverting input 172 forms a voltage follower buffer amplifier, thenoninverting input 174 of which receives from low pass filter 154 thevoltage of the back porch portion of the horizontal blanking pulse andwhich provides a buffered version thereof on its output 170. Operationalamplifiers 160 and 168 are preferably low-noise general purpose BiFEToperational amplifiers of the TL071C-type.

Two-1 kilohm resistors 176 and 178 are connected in series betweenoutput 162 of amplifier 160 and output 170 of amplifier 168,respectively. Resistors 176 and 178 form a voltage divider that provideson a circuit node 180 the reference voltage V_(50%), which is preciselymidway between the voltage level of the tip portion of the horizontalsynchronization pulse and that of the back porch portion of thehorizontal blanking pulse. A capacitor 182 of 0.01 μf connected betweencircuit node 180 and ground removes any noise voltage components fromthe reference voltage V_(50%). A variable resistor 184 of maximumresistance of 1.3 megohms that is connected between circuit node 180 anda -12 volt DC bias supply provides adjustable compensation for voltageoffset differences between operational amplifiers 160 and 168 and theinput offset voltage of a voltage comparator 188, whose inverting input186 is connected to circuit node 180.

The reference voltage V_(50%) on circuit node 180 is applied to theinverting input 186 of voltage comparator 188. A stabilizing feedbackcapacitor 192 of 3 pf is connected between the inverting output 190 andthe inverting input 186 of comparator 188. The monochrome video signalpresent at circuit node 120 is applied to the noninverting input 194 ofcomparator 188. Whenever the voltage of the leading edge of themonochrome video signal crosses the reference voltage V_(50%), anegative-going trigger pulse appears at the noninverting output 196 ofcomparator 188. Detection circuit 16 provides a trigger pulse indicatingwithin less that one percent error relative to the amplitude of thehorizontal synchronization pulse the time at which the horizontalsynchronization pulse crosses the reference voltage V_(50%). Suchaccuracy is necessary in that a voltage offset corresponding to 10% ofthe amplitude of the horizontal synchronization pulse (i.e.,approximately 30 mV) would generate an error of approximately 30° in thedetermination of the phase angle between the color synchronization burstsignal and horizontal synchronization pulse.

Output 196 of comparator 188 is applied to the negative edge triggerinput 200 of a monostable multivibrator or one-shot 202, which"stretches" or lengthens the duration of the trigger pulse. Thenegative-going edge of the trigger pulse applied to input 200 ofone-shot 202 causes a negative-going pulse of approximately 9microseconds in duration to develop on the Q output 204 of one-shot 202.The 9 microsecond duration is determined by a timing capacitor 206 of0.001 μf and a timing resistor 208 of 20 kilohms. Timing capacitor 206and timing resistor 208 are connected to one-shot 202 in accordance withthe device manufacturer's applications instructions. One-shot 202 canbe, for example, one portion of a 96LS02 device.

A pair of diodes 210 and 212, whose anode terminals are connectedtogether at a circuit node 214, and a resistor 216 of 10 kilohms, whichis connected to a bias voltage of +5 volts, form a diode-OR gatecircuit. The cathode terminal of diode 210 and the cathode terminal ofdiode 212 are connected to output 196 of comparator 188 and Q output 204of one-shot 202, respectively. Applying the trigger pulse from output196 of comparator 188 ensures that the trigger pulse reaches node 214with a minimum delay time. This is accomplished by effectively bypassingthe propagation delay of one-shot 202. The pulse of 9 microsecondduration provided by one-shot 202 encompasses the transmission time ofthe color synchronization burst signal of the color video source signal.

A pair of emitter-coupled NPN transistors 220 and 222 of the 2N3904 typefunctions as a comparator circuit that provides an enable signal togated oscillator 20 in response to the trigger pulse on circuit node214. This comparator functions as an interface between the logiccircuitry of the TTL type, which develops the trigger pulse, and of theECL type, which develops the output signal of gated oscillator 20. Theemitter terminals 224 and 226 of the respective transistors 220 and 222are connected through a resistor 228 of 3.3 kilohms to a bias voltage of-12 volts. The base terminal 230 of transistor 220 constitutes thecomparator reference input, to which +1.2 volts is applied. The baseterminal 232 of transistor 222 receives the trigger pulse signal oncircuit node 214.

Whenever the signal on circuit node 214 is in a logic 1 state (i.e.,+3.2 volts), a greater amount of current flows through the collectorterminal 234 of transistor 222 than flows through collector terminal 236of transistor 220. Under these conditions, the voltage on collectorterminal 236 of transistor 220 is about +5 volts. Whenever the signal oncircuit node 214 is in a logic 0 state (i.e., +0.4 volts), a greateramount of current flows through collector terminal 236 of transistor 220than flows through collector terminal 234 of transistor 222. Under theseconditions, the voltage on collector terminal 236 of transistor 220 isabout +0.5 volt. Collector terminal 234 is connected directly to the +5volt supply, and collector terminal 236 is connected through resistor238 of 680 ohms to the +5 volt supply. The voltage on collector terminal236 of transistor 220 functions as the enable signal for gatedoscillator 20 in the following manner.

Gated oscillator 20 includes two gates 250 and 252 of theemitter-coupled logic (ECL) family that provide a generally square waveoutput signal of about 3.58 MHz. The ECL logic gates are useful becausethey are relatively high speed switching devices and can be biased intoa linear mode to function as an amplifier. Logic gate 250 is configuredas an inverter whose output 254 and input 256 are connected together. Acapacitor 258 of 0.1 μf connected from input 256 of inverter 250 toground prevents inverter 250 from oscillating, thereby developing on itsoutput 254 a voltage of about +3.6 volts, which represents the switchingthreshold voltage of inverter 250. Logic gate 252 has two inputs 260 and262 and two outputs 264 and 266, with output 264 representing that of anOR gate and output 266 representing that of a NOR gate. A feedbackresistor 268 of 1.8 kilohms connected between output 264 and input 260provides a positive feedback path around logic gate 252. Logic gate 252functions as an oscillator that is tuned to the 3.58 MHz frequency setby a parallel resonant circuit 270, which comprises an inductor 272 of15 μH, a temperature-compensating type capacitor 274 of 120 pf, and avariable capacitor 276 of 2 pf to 10 pf. Resonant circuit 270 isconnected between output 254 of inverter 250 and input 260 of logic gate252 to provide a DC voltage signal path through inductor 272 to biaslogic gate 252 to its linear region and thereby allow it to oscillate atthe 3.58 MHz frequency.

Input 262 of logic gate 252 receives the voltage on collector terminal236 of transistor 220. Whenever the voltage on input 262 of logic gate252 is +5 volts, which corresponds to a logic 1 state of the triggerpulse, output 266 of logic gate 252 remains in the logic 0 state.Whenever the voltage on input 262 of logic gate 252 is +0.5 volt, whichcorresponds to a logic 0 state of the trigger pulse, output 266 of logicgate 252 oscillates at about 3.58 MHz. The oscillation begins with atransition from the logic 0 state to the logic 1 state in response tothe negative-going edge of the trigger signal and lasts forapproximately the 9 microsecond duration of the trigger pulse.

Output 266 of logic gate 252 is applied to the input 278 of an inverter280, whose output 282 is applied to the input of a bandpass filter 284,which provides a 3.58 MHz sinusoidal "regenerated" subcarrier signal onan output terminal 286. Bandpass filter 284 includes inductors 288 and290, each of 15 μH; capacitors 292 and 294, each of 130 pf; a resistor296 of 330 ohms; and a resistor 298 of 2 kilohms in the configurationshown in FIG. 3. The signal on output terminal 286 of a bandpass filter284 is a pulsed sinusoidal waveform that appears in response to thetransition of the horizontal synchronization pulse across the referencevoltage V_(50%). This signal is applied through an AC coupling capacitor300 of 10 μf to inputs 22 and 26 of the respective mixers 24 and 28,which comprise part of a chroma demodulator integrated circuit 302 whoseoperation will be described below. Gated oscillator 20 provides,therefore, a gated sinusoidal waveform that begins in a known,predictable phase relationship with the trigger pulse that initiates theoscillation. During the 9 microsecond time interval gated oscillator 20develops the regenerated subcarrier signal on output terminal 286 ofbandpass filter 284, the color synchronization burst signal of the colorvideo source appears on circuit node 110 and is amplified by anamplifier 310, which is constructed from discrete components in a knownmanner. Amplifier 310 is configured in the inverting mode with itsnoninverting input 312 connected to ground and its output 314 fed backto its inverting input 316 through a feedback resistor 318 of 2.7kilohms. A resistor 320 of 301 ohms, which is connected between circuitnode 110 and inverting input 316, together with resistor 318 sets thegain of operational amplifier 310. An inductor 322 of 15 μH and acapacitor 324 of 130 pf are connected in series with resistor 320 andform a bandpass filter that resonates at about 3.58 MHz to pass thecolor synchronization burst signal through amplifier 310 at full gain.

The amplified color synchronization burst signal is DC coupled through acapacitor 326 of 0.1 μf to a pair of logic gates 328 and 330 thatfunction as a limiter which restricts the peak-to-peak amplitude of thecolor synchronization burst signal to about one volt. Logic gate 328 isan inverter with its output 332 connected to its input 334, which isconnected to ground through a capacitor 336 of 0.1 μf. Inverter 328functions in a manner analogous to that of inverter 250 to deliver a+3.6 volt bias through a resistor 338 of 10 kilohms to the input 340 oflogic gate 330. Logic gate 330 has two outputs 342 and 344, with output342 representing that of an inverter and output 344 representing that ofa noninverting buffer.

A resistor 345 of 3 kilohms connected between output 342 and input 340provides a negative feedback path around logic gate 330. Logic gate 330functions as a negative feedback amplifier which is biased in the linearregion by the +3.6 volts developed by inverter 328 and whose output islimited to one volt peak-to-peak by the permissible output voltage swingof the logic gate. Each of the ECL logic gates 250, 252, 280, 328, and330 can be a 10H105 or equivalent device and employs pull down resistors(not shown) as recommended by the manufacturer. The power supply isoperated from 0 to +5 volts, rather than from 0 to -5.2 volts asrecommended by the manufacturer, to allow for easier interfacing to thetrigger pulse input and to manage the instrument power consumption.

The synchronization burst signal on output 344 of logic gate 330 isdivided into two-90° phase-displaced signals that are delivered to input30 of mixer 24 and input 34 of mixer 28. As was stated above, mixers 24and 28 comprise part of demodulator circuit 302. A pi-section filtercomprised of capacitors 346 and 348, each of 390 pf, and an inductor 350of 4.7 μH provides the 90° phase shift of the signal applied to input 34of mixer 28 relative to that applied to input 30 of mixer 24. Each ofthe 90° phase-displaced signals is isolated from the other and is ACcoupled by series-connected resistor 352 of 100 ohms and capacitor 354of 0.1 μf.

Demodulator circuit 302 is a chroma demodulator integrated circuit, suchas a CA3072 device manufactured by RCA or a LM1848 manufactured byNational Semiconductor. Demodulator circuit 302 receives a compositevideo signal and a reference subcarrier and generates the R-Y and B-Ydecoded output signals from them. In particular, demodulator 302receives the two-90° phase-displaced signals applied to its inputs 30and 34 and the regenerated color subcarrier signal applied to its inputs22 and 26 and develops on its R-Y output 14 and B-Y output 12 two-90°phase-displaced signals representing the amplitude and phaserelationships of the input signals. Since the amplitude of each inputsignal is fixed by ECL logic gates, the voltage signals on outputs 12and 14 represent only the phase relationship of the input signals.

Capacitor 276 is adjusted so that the frequency of oscillation of logicgate 252 causes a zero error voltage at B-Y output 12 when a colorsynchronization burst signal and a horizontal synchronization pulse areapplied in the correct phase relationship to phase detector 10.Similarly, R-Y output 14 of demodulator 302 will provide a maximumpositive voltage level for even numbered lines of field 1 and field 4and odd numbered lines of field 2 and field 3. Changing the phasebetween the color synchronization burst signal and the horizontalsynchronization pulse over 360° generates an error voltage on B-Y output12 to vary as a function of the sine and the R-Y error voltage to varyas a function of the cosine of the phase difference between suchsignals. In sum, the B-Y signal on output 12 indicates the amount ofphase error, and the R-Y signal on output 14 indicates which of the two180° parts of the phase circle the phase error is present. Comparison ofthe voltage of the R-Y signal generated by the video reference signaland that generated by the video source signal indicates whether suchsignals are in the same color frame. The comparison of the video sourcesignal and video reference signal is accomplished in the followingmanner.

The B-Y output 12 of demodulator 302 is applied to the analog input 404of a sample-and-hold circuit 406 and an electrical contact 408 of a"normally closed" electronic relay 410, and the R-Y output 14 ofdemodulator 302 is applied to the analog input 412 of a sample-and-holdcircuit 414 and an electrical contact 416 of a "normally closed"electronic relay 418. Electrical contacts 420 and 422 of the respectiverelays 410 and 418 are connected to ground, and control inputs 424 and426 of the respective relays 410 and 418 are connected to the Q output428 of one-shot 202. Whenever Q output 428 of one-shot 202 is in thelogic 1 state, i.e., when gated oscillator 20 is activated, the signalsappearing on outputs 12 and 14 of demodulator 302 are applied to analoginput 404 of sample-and-hold circuit 406 and analog input 412 ofsample-and-hold circuit 414, respectively. The analog inputs ofsample-and-hold circuits 406 and 414 are at ground potential whenevergated oscillator 20 is deactivated. Each of two networks includingresistor 430 of 100 ohms, resistor 432 of 3 kilohms, capacitor 434 of330 pf, and capacitor 436 of 0.1 μf is positioned between B-Y output 12of demodulator 302 and input 404 of sample-and-hold circuit 406 andbetween R-Y output 14 of demodulator 302 and input 412 ofsample-and-hold circuit 414. Each of these networks AC couples an outputof demodulator circuit 302 to the analog input of the sample-and-holdcircuit with which it is associated and permits the connection of suchanalog input to ground without destroying the output circuitry ofdemodulator 302. Resistor 430 and capacitor 434 form a low pass filterfor the B-Y and R-Y outputs.

In response to a trigger pulse, one-shot 202 provides at its Q output428 a signal in the logic 1 state that is applied to control inputs 424and 426 of respective relays 410 and 418 to drive them into the open ornonconducting state. This causes the B-Y signal to be delivered toanalog input 404 of sample-and-hold circuit 406 and the R-Y signal to bedelivered to analog input 412 of sample-and-hold circuit 414.Simultaneously, a source phase sample signal is provided on output 440of timing subcircuit 78 and applied to enable input 442 ofsample-and-hold circuit 406, and a source frame sample signal isprovided on output 444 of timing subcircuit 78 and applied to enableinput 446 of sample-and-hold circuit 414. The source phase sample signalenables sample-and-hold circuit 406 and the source frame sample signalenables sample-and-hold circuit 414 during each time the color videosource signal is transmitted by multiplexer 58 and the synchronizationtip and back porch portions of the color video source signal aretransmitted by multiplexer 92. This sampling procedure is carried outfor a number of horizontal synchronization pulses throughout a colorfield, thereby to provide an indication of a change in the phase betweenthe color synchronization burst signal and the horizontalsynchronization pulse. In particular, phase samples and frame samplesare acquired for odd numbered lines of field 2 and even numbered linesof field 4 of the four color field sequence (i.e. color frame 1 andcolor frame 2, respectively). The sampled voltage of the B-Y signalprovided on the output 448 of sample-and-hold circuit 406 is used todetermine the phase angle between the color synchronization burst signaland horizontal synchronization pulse for one line of the color videosource signal. The sampled voltage of the R-Y signal provided on theoutput 450 of sample-and-hold circuit 414 is used to determine whetherthe color frame sequences of the color video source and referencesignals are matched. This latter signal undergoes further processing asdescribed below.

The R-Y signal on output 14 of demodulator 302 is also delivered underthe control of relay 418 to the analog input 451 of a sample-and-holdcircuit 452. During the time when multiplexers 58 and 92 transmit thecolor video reference signal and Q output 428 of one-shot 202 provides asignal in the logic 1 state in response to a trigger pulse, relay 418 isin the nonconducting state, thereby removing contact 416 from ground andpermitting the delivery of the R-Y signal to input 451 ofsample-and-hold circuit 452. Simultaneously, a reference frame samplesignal provided on output 454 of timing subcircuit 82 and applied to theenable input 456 of sample-and-hold circuit 452 causes the sampling ofthe R-Y signal voltage during that time. The sampling procedure for thereference signal is analogous to that of the video source signal asdescribed above, with the exception that no phase samples are acquiredand frame samples are acquired for even numbered lines of field 1 andodd numbered lines of field 3 (i.e. color frame 1 and color frame 2,respectively) of the four color field sequence. The sampled R-Y signalvoltage appears on output 458 of sample-and-hold circuit 452. Thesampled R-Y signal voltages of the video source signal and the videoreference signal are compared by a color frame detector circuit 460 todetermine whether there is a color frame mismatch between the videosource signal and the video reference signal.

Color frame detector circuit 460 comprises two similar comparatorsubcircuits, each including a voltage follower amplifier and a Schmitttrigger comparator connected in cascade and receiving the output of adifferent one of sample-and-hold circuits 414 and 452. Correspondingcomponents of the comparator subcircuits have identical referencenumerals with different suffixes, the suffix "a" and the suffix "b"representing the comparator subcircuits for the source frame voltagesample and the reference frame voltage sample, respectively. Thefollowing description is directed only to the comparator subcircuit forthe source frame voltage sample.

The voltage follower amplifier comprises an operational amplifier 462awhose output 464a is connected to its inverting input 466a and whosenoninverting input 468a receives the sampled voltage of the R-Y signalfrom output 450 of sample-and-hold circuit 414. A low pass filtercomprising a resistor 470a of 4.7 kilohms and a capacitor 472a of 0.01μf removes high-frequency switching transient voltages before the signalpasses through amplifier 462a. The output 464a of amplifier 462a isapplied to the inverting input 474a of an operational amplifier 476a,whose output 478a is fed back to its noninverting input 480a through aresistor 482a of 75 kilohms. Noninverting input 480a of amplifier 476ais also connected through a resistor 484a of 4.7 kilohms to a comparisonvoltage, V_(c), of 0.15 volt to form the Schmitt trigger. The comparatorvoltage V_(c) is developed at the circuit node of a resistor 486 of 150ohms and a resistor 488 of 12 kilohms, which are connected in seriesbetween a +12 volt supply and ground to form a voltage divider. Asampled voltage of the R-Y signal that is greater than V_(c) causesamplifier 476a to provide on its output 478a a signal in the logic 0state. Output 478a of amplifier 476a is in the logic 1 state at allother times.

Color frame detection circuit 460 takes the sampled R-Y signal voltagesfor the video source signal and the reference source signal and comparesthem. The comparison is accomplished by applying the outputs 478a and478b of amplifiers 476a and 476b to different inputs of an EXCLUSIVE-ORgate 490. Output 492 of EXCLUSIVE-OR 490 is in the logic 0 statewhenever the logic states of the signals applied to its inputs are thesame, thereby indicating no frame error. To provide for the sampling ofthe correct line and field, the source frame output 478a of amplifier476a is applied to an input 494 of timing subcircuit 78 and thereference frame output 478b of amplifier 476b is applied to an input 496of timing subcircuit 82. The logic 1 state on outputs 478a and 478bindicates that the frame samples for the source and reference signals,respectively, correspond to the correct lines and fields (i.e., frames).The logic 0 state indicates that the frame samples do not correspond tothe correct lines and fields (i.e., frames). Accordingly, timingcircuits 78 and 82 maintain and change their timing signals in responseto a logic state 1 and a logic state 0, respectively.

During the detection of color frame mismatching, reference timingsubcircuit 82 generates reference sampling signals that maintain a logic1 state at output 478b. These reference sampling signals correspond,therefore, to even numbered lines of field 1 and odd numbered lines offield 3 of the video reference signal. The reference sampling signalsare applied via outputs 84 and 86 to source timing subcircuit 78, whichgenerates source sampling signals that are defined with respect to thereference sampling signals. As a result, the source frame samples causeamplifier 476a to generate the logic state 1 and the logic 0 state inaccordance with the color frames of the video reference signal and videosource signal being matched and unmatched, respectively. During themeasurement of the phase between the color synchronization burst signaland the horizontal synchronization pulse, source timing subcircuit 78generates source sampling signals that maintain a logic state 1 atoutput 478a. These source sampling signals correspond, therefore, to oddnumbered lines of field 2 and even numbered lines of field 4 of thevideo source signal. The logic state on output 478b does not affect thesampling for the phase measurement.

The source frame signal allows timing subcircuit 78 to internallygenerate timing signals corresponding to the four-color field sequenceof the color video source signal. The four-color field sequence timingsignals are employed in determining the timing of the source phasesample signal and the source frame sample signal on the respectiveoutputs 440 and 444 of timing subcircuit 78. Timing subcircuit 78 alsocompares the four-color field sequence timing signals with the signalscorresponding to the color frame and color field of the color videoreference signal. Whenever it detects a difference between the colorfield sequences of the color video source and reference signals, timingsubcircuit 78 provides at an output 498 a frame mismatch signal in thelogic 1 state indicating a frame sequence mismatch. The reference framesignal allows timing subcircuit 82 to generate timing signalscorresponding to the four-color field sequence of the color videoreference signal. These timing signals are employed in determining thetiming of the reference frame sample signal on output 454 of timingsubcircuit 82.

It will be appreciated that phase detector 10 can be used to provide anindication of a color frame mismatch between different video sourcesignals that are, for example, to be multiplexed on a VTR. The colorframe sequence of each video source signal is separately measured andcompared with that of the video reference signal in the manner describedabove. These comparisons provide information relating to color framesequences of the video source signals relative to the color framesequence of the video reference signal and, therefore, provide anindication of the synchronization between the color frame sequences ofthe video source signals. Moreover, using phase detector 10 inaccordance with the above procedure makes possible a determination ofwhether the color frame sequences of multiple video source signals arematched without requiring matched timing of the signals.

The B-Y signal on output 448 of sample-and-hold circuit 406 and thesource frame and the reference frame comparison signal on output 492 ofEXCLUSIVE-OR gate 490 are processed by a display generator circuit 500to provide on a television-type monitor a visual display imageindicating the amount of phase error, if any, and the existence of aframe error.

The B-Y signal on output 448 of sample-and-hold circuit 406 isconditioned by a low pass filter, which is comprised of a resistor 470cand a capacitor 472c, and a voltage follower amplifier 462c as describedwith reference to the devices with corresponding reference numerals incolor frame detection circuit 460. The B-Y signal on output 464c ofvoltage follower amplifier 462c is conditioned by an operationalamplifier 502, whose output 504 is summed with the output 506 of a 20KHz sine wave oscillator 508 at a Y-axis output terminal 509 to drivethe Y-axis deflection coil of a cathode-ray tube (not shown). Apotentiometer 510 connected to the noninverting input 512 of amplifier502 sets the DC voltage offset of the B-Y signal. Resistor 514 of 1.0kilohm connected between output 504 and inverting input 516 of amplifier502, together with variable resistor 518 of 4.25 kilohms totalresistance, sets the amplitude of the B-Y signal. The 20 KHz signaldeveloped on output 506 of oscillator 508 is of relatively smallamplitude, is AC coupled through a capacitor 520 of 0.1 μf, and isapplied to the conditioned B-Y signal to provide Y-axis (i.e., vertical)modulation.

The control input 522 of a "normally closed" electronic relay 524positioned between output 506 of oscillator 508 and capacitor 520receives a 1 Hz signal that intensity modulates the Y-axis displaywhenever a color frame error is detected, as will be described below.Resistors 526 and 528, each of 100 ohms, comprise the summing networkfor the conditioned B-Y signal and the 20 KHz signal.

The B-Y signal on output 464c of voltage follower amplifier 462c is alsoapplied to the control input 530 of a variable attenuator 532 whoseoutput 534 is summed with the output 536 of a 100 KHz oscillator 538.Variable attenuator 532 receives on its signal input 540 the 20 KHzsignal that is developed on output 506 of oscillator 508 and is ACcoupled by a capacitor 542 of 0.1 μf, and attenuates the 20 KHz signalby an amount that is inversely proportional to the amplitude of the B-Ysignal applied to control input 530. Output 534 of variable attenuator532 is AC coupled through a capacitor 544 of 0.1 μf and a load resistor546 of 12 kilohms to an operational amplifier 502', which conditions theattenuated B-Y signal in the manner described above with reference toamplifier 502 and its associated components having identical referencenumerals followed by primes.

The 20 KHz signal whose amplitude is directly related to the amount ofY-axis error is applied to an X-axis output terminal 548 to drive theX-axis deflection coil of the cathode-ray tube. As the amplitude of theB-Y (i.e., Y-axis) signal increases the X-axis horizontal modulationincreases, thereby causing the length of a line trace on the display toincrease in the horizontal direction as the phase error increases. The100 KHz signal "fills in" the resultant box produced on the display aswill be described with reference to FIG. 4. The control input 522' of anormally closed relay 524' positioned between output 536 of 100 KHzoscillator 538 and capacitor 520' receives the 1 Hz signal that alsointensity modulates the X-axis display.

A color frame error flasher 550 includes an oscillator 552 that developson its output 554 a 1 Hz square wave signal that is delivered to theoutput 556 of a relay 558 to control inputs 522 and 522' of respectiverelays 524 and 524' whenever the color frames of the video source signaland the video reference signal are mismatched. This is accomplished bythe presence of a signal in the logic 1 state at the output 560 of an ORgate 562, which is connected to the control input 564 of relay 558 andwhose inputs receive the signal on output 492 of EXCLUSIVE-OR gate 490and the frame mismatch signal developed on output 498 of timingsubcircuit 78. OR gate 562 provides, therefore, a frame mismatch signalwhich depends upon an actual matching of the color frames of the videosource signal and the video reference signal, rather than the detectionof a threshold phase difference between the two signals.

FIG. 4A shows an exemplary visual display image 572 that would begenerated on a display screen of an X-Y monitor by the signals developedby display generation circuit 500 and applied to X-axis and Y-axisinputs of the monitor. A selected reference location 574 on the displayscreen of the X-Y monitor corresponds to a 0° phase angle between thecolor synchronization burst signal and the color synchronization pulseof the color video source signal. The 20 KHz signal applied to theX-axis input of the X-Y monitor generates image 572, which preferablycomprises a horizontal straight line having a length 576 which isdirectly proportional to the amplitude of the B-Y signal provided onoutput 464c of amplifier 462c. The amplitude of the B-Y signal is,however, a sinusoidal function of the phase angle error between thecolor burst subcarrier signal and the horizontal synchronization pulse.The DC output voltage applied to the Y-axis input of the X-Y monitordisplaces image or line 572 from reference location 574 by a distance578. Distance 578 is proportional to a sinusoidal function of the phaseangle error between the color burst subcarrier signal and the horizontalsynchronization pulse.

The values of potentiometers 510 and 510' set the X-Y coordinates ofreference location 574 on the display screen. The coordinates arepreferably set to offset reference location 574 from the imagecorresponding to the color video signal to prevent viewer confusion ofthe video signal image and line image. The values of variable resistors518 and 518' set the gains of the respective amplifiers 502 and 502' andthereby determine the maximum length of line 572 and the maximum extentof distance 578.

FIG. 4B shows that the display of line 572 for all angles of the phaseangle error function would describe a composite image 580 of generallyhour glass shape, i.e., including a pair of isosceles triangles 582 and584 with a common vertex 574 (i.e., the reference location) locatedopposite the base 586 of triangle 582 and the base 588 of triangle 584,the bases being parallel to each other and being bisected by a verticalaxis 590 passing through reference location 574. The phase errorfunction has a maximum horizontal extent at a maximum vertical positionand a progressively decreasing horizontal extent as the verticaldistance between line 572 (an exemplary line 572 is shown in phantom inFIG. 4B) and reference location 574 decreases as a function ofdecreasing phase angle error. The horizontal dimension increases withincreasing vertical distance from reference location 574 in both thepositive direction 592 and the negative direction 594, one directioncorresponding to a phase lead and the other direction corresponding to aphase lag.

In FIG. 4A, broken lines 596 and 598 indicate the extent of line 572 asa function of the vertical distance from reference location 574. Thepresence of a color frame mismatch enables the 100 KHz oscillator whichmodulates the X-axis output to "fill in" the triangular region betweenreference location 574 and line 572 and enclosed by broken lines 596 and598. A color frame mismatch also causes the entire display image toflash at a 1 Hz rate.

It will be appreciated that phase detector 10 minimizes the effect oftime jitter between successive horizontal scan lines through the use ofsample-and-hold circuits 130, 132, 406, 414, and 452. The effect of suchtime jitter is also avoided because the sample time between a horizontalsynchronization pulse and a color synchronization burst signal for aparticular scan line is independent of that of any other scan line.

FIGS. 5a, 5B, and 6 together with the following description are directedto employing color video signal phase detector 10 to measure the phasecharacteristics of a PAL-based color video signal. In particular, FIGS.5a, 5b, and 6 are directed to a method of sampling a PAL-based colorvideo signal to measure the phase angle between the colorsynchronization burst signal and the horizontal synchronization pulsetrain (the "SC/H phase angle") and to determine whether the color framesequence of a video source signal matches that of a video referencesignal. The circuit components included in phase detector 10 to measurea PAL-based signal are substantially similar to those employed in themeasurement of an NTSC-based signal, as described below in greaterdetail.

Signals comparable to the B-Y and R-Y signals in an NTSC-based systemare referred to as U and V encoding signals, respectfully, in aPAL-based system. The U and V encoding signals are similar to the B-Yand R-Y signals in being proportional to the respective sine and cosineof the phase angle between the horizontal synchronization pulse trainand the color subcarrier signal. Phase detector 10 provides the U and Vencoding signals at respective outputs 12 and 14 in a manner similar tothat in which the B-Y and R-Y signals are generated in an NTSC-basedsystem. It will be appreciated, however, that oscillator circuit 20 in aPAL-based system would be configured to generate a reference subcarriersignal of about 4.43 MHz, which is the standard color subcarrier signalfrequency in a PAL-based video signal.

PAL-based systems employ a four-color frame (i.e., eight-color field)sequence of phase angles between the color subcarrier signal and thehorizontal synchronization pulse train. In addition, PAL-based systemsemploy an inverted color subcarrier signal in the generation of the Vencoding signal for alternate ones of the horizontal scan lines (i.e.,phase alternate lines).

With reference to the PAL systems designated G, B, H, and I, forexample, the frequency of the horizontal synchronization pulse trainf_(h) is established at 15.625 kHz and the frequency of the colorsubcarrier signal f_(sc) is related to it as:

    f.sub.sc =(1135/4+1/625)f.sub.h.

The factor 1135/4 establishes a primary color subcarrier componenthaving 283.75 cycles for each horizontal scan line. The factor 1/625establish a secondary color subcarrier component having a frequency of25 Hz, which corresponds to the frequency at which color frames arerendered. (Each color frame in a PAL-based system includes 625horizontal scan lines.) The secondary color subcarrier component causesthe SC/H phase angle to change 0.576° (i.e., 360°/625) for successivelines in a color frame.

FIG. 5a shows simplified vector representations of the U and V encodingsignals provided at respective outputs 12 and 14 of phase detector 10.The simplified vector representations in FIG. 5a correspond, forexample, to the thirteenth, fourteenth, fifteenth, and sixteenth lines(i.e., the odd-numbered lines 13, 14, 15, and 16) in each of the first,third, fifth, and seventh color fields (i.e., the odd-numbered colorfields 1, 3, 5, and 7) of the PAL eight-color field sequence. Each ofthe simplified vector representations is identified by the suffix "a".The vector representations of corresponding lines in different colorfields are identified by identical reference numerals with numericalsuffixes corresponding to the number of the color field.

The vector representations of FIG. 5a show the change in the polarity ofthe V encoding signal caused by employing an inverted color subcarriersignal for alternate successive horizontal lines. The vectorrepresentations of FIG. 5a are simplified in that they do not show the25 Hz secondary component of the color subcarrier signal or the phaseshifts introduced between successive horizontal lines by thenon-integral relationship between the frequencies of the main colorsubcarrier component and the horizontal synchronization pulse train.

The phase relationships between the U and V encoder signals for lines13, 14, 15, and 16 of color field 1 are indicated by vectorrepresentations 602a-1, 604a-1, 606a-1, and 608a-1, respectively. Vectorrepresentations 602a-1, 604a-1, 606a-1, and 608a-1 include vectors u'and v' that represent the relative phases of the respective U and Vencoding signals. The polarity of the vector v' is inverted foralternate ones of the successive lines 13, 14, 15, and 16 and isindicative of the inverted color subcarrier signal employed for the Vencoding signal for the alternate lines. The polarity of the vector u'is substantially the same for each of the lines 13, 14, 15, and 16 andis indicative of the constant color subcarrier signal employed for the Uencoding signal for each of the lines. The u' and v' vectors areseparated by angles of 90° in each of the vector representations torepresent the 90° phase difference between the sine signal correspondingto the U encoding signal and the cosine signal corresponding to the Vencoding signal. The description set forth above with reference to thevector representations for color field 1 is applicable to the vectorrepresentations for each of the color fields 3, 5, and 7.

The phase angle of the V encoding signal in corresponding lines ofsuccessive color frames is shifted by an angle of 180°. This 180° phaseshift is demonstrated, for example, by the v' vector for line 13 invector representations 602a-1 and 602a-3 of color fields 1 and 3,respectively. The 180° phase shift is a result of the color subcarriersignal being inverted for alternate ones of an odd number of horizontallines (i.e., 625) in each color frame.

FIG. 5b shows vector representations that correspond to those shown inFIG. 5a and that include the phase shifts introduced between successivehorizontal lines by the non-integral relationship between thefrequencies of the main color subcarrier component and the horizontalsynchronization pulse train. The vector representations of FIGS. 5a and5b corresponding to the same horizontal lines and color fields areidentified by identical reference numerals with the suffixes "a" and"b", respectively.

With reference to FIG. 5b, the phase relationships between the U and Vencoder signals for lines 13, 14, 15, and 16 of color field 1 areindicated by vector representations 602b-1, 604b-1, 606b-1, and 608b-1,respectively. Vector representations 602b-1, 604b-1, 606b-1, and 608b-1include vectors u" and v" that represent the relative phases of the Uand V encoding signals, respectively.

With reference to FIGS. 5a and 5b, line 13 of color field 1 isarbitrarily designated a reference line from which the SC/H phase angles(i.e., the phase angles between the color subcarrier signal and thehorizontal synchronization pulse train) for subsequent lines and fieldsare determined. As a result, vector representations 602a-1 and 602b-1are identical. Vector representation 602b-1 includes an SC/H vectorrepresenting the phase angle between the color subcarrier signal and thehorizontal synchronization pulse train. The SC/H vector represents thevector sum of the u" and v" vectors.

Vector representations 604b-1, 606b-1, and 608b-1 in FIG. 5b show a 90°phase shift introduced into the phase representations (i.e., the u" andv" vectors) of each successive line by the non-integral relationshipbetween the frequencies of the horizontal synchronization pulse trainand the main component of the color subcarrier signal. Set forth belowis a description of how the 90° phase shifts are introduced by the 0.75cycle portion of the 283.75 cycles of main color subcarrier componentfor each horizontal line.

The U encoding signal represents the sine of the difference between thephase angle of the color subcarrier signal and the reference subcarriersignal, which is triggered from a horizontal synchronization pulse.Whenever the phase angle of the color subcarrier signal is subtractedfrom the phase angle of the reference subcarrier signal, the 0.75 cyclechange in the color subcarrier signal for successive horizontal linesrepresents a -270° change in the phase angle of the color subcarriersignal. With respect to the sine function, a -270° phase shift isequivalent to and may be represented as a +90° phase shift. As a result,the angle of the u" vector is rotated by an angle of 90° for eachsuccessive horizontal line as shown, for example, in lines 13-16 ofcolor field 1. In each vector representation, the v" vector is offsetfrom the u" vector by an angle of 90°. The 90 relationship between theu" and v" vectors for each line is the same as the 90° relationshipbetween the u" and v" vectors for corresponding lines.

The SC/H vectors in each of the vector representations in FIG. 5b aredesignated as having positive and negative polarities in accordance withthe direction in which the vector is oriented. An SC/H vector having anorientation similar to that of the SC/H vector in representation 602b-1is designated as having a positive polarity. An SC/H vector having anorientation similar to that of the SC/H vector in representations 606b-1is designated as having a negative polarity.

Table 1 shows the polarities of the SC/H vectors for lines 13-23 in eachof the color fields 1, 3, 5, and 7 (i.e., color frames 1, 2, 3, and 4).As shown in Table 1, the polarity of the SC/H vector is inverted forsuccessive pairs of adjacent lines in each color frame. Since each colorframe includes 625 horizontal lines, however, the polarity of the SC/Hvector is inverted for different successive pairs of adjacent lines ineach successive color frame. As a result, the polarity of the SC/Hvector for each line is different for different ones of the color framesin the four-color frame sequence.

In connection with an NTSC-based system, phase detector 10 acquiresphase and frame samples for a video source signal on odd-numbered linesof field 2 and even numbered lines of field 4, respectively. Asdescribed with reference to the NTSC-based system, the sampling of videosignals is controlled by timing signals generated by timing subcircuit70. The phase relationship between the color subcarrier signal and thehorizontal synchronization pulse train in an NTSC-based video signalallows such a signal to be sampled, for example, on any of theodd-numbered lines within color field 2. Such a sampling technique is,however, incompatible with a PAL-based video signal.

                  TABLE 1                                                         ______________________________________                                                 Line Numbers                                                                  13        15        17      19      21      23                       ______________________________________                                        Color Field 1                                                                            +     +     -   -   +   +   -   -   +   +   -                      (Color Frame 1)                                                               Color Field 3                                                                            +     -     -   +   +   -   -   +   +   -   -                      (Color Frame 2)                                                               Color Field 5                                                                            -     -     +   +   -   -   +   +   -   -   +                      (Color Frame 3)                                                               Color Field 7                                                                            -     +     +   -   -   +   +   -   -   +   +                      (Color Frame 4)                                                               ______________________________________                                    

With reference to Table 1, the polarity of the SC/H vector forsuccessive odd-numbered lines alternates in each one of the colorfields. As a result, the measurement of the phase characteristics of aPAL-based video signal requires an alternative method of operatingtiming subcircuit 70.

In connection with a PAL-based system, the operation of timing circuit70 is adapted to provide sampling of a video signal such that thepolarity of the SC/H vector for each sample is the same. For example,timing circuit 70 could be adapted to sample lines 17 and 18 in field 1,lines 16 and 17 in field 3, lines 15 and 16 in field 5, and lines 14 and15 in field 7. As shown in Table 1, each of the sampled lines wouldgenerate an SC/H vector having a positive polarity.

With reference to the sampling of the color video source signal, forexample, timing subcircuit 78 identifies the lines to be sampled inaccordance with the logic state of the source frame signal thatamplifier 476a delivers to input 494 of timing subcircuit 78. As in theNTSC-based system, subcircuit 78 generates source sampling signals forcolor frames that are defined with respect to the reference samplingsignals and specific lines that are defined with respect to the sourcetiming signals. Timing subcircuit 78 is capable of distinguishingbetween odd- and even-numbered fields in the eight-color field sequenceand is capable of identifying specific lines within a color field.

In addition to the determination of the SC/H phase angle for a PAL-basedcolor video source signal, the method of the present invention alsoallows phase detector 10 to determine whether the color frame sequenceof a PAL-based PAL-based color video source signal is matched to that ofa color video reference signal. Phase detector 10 provides detection ofcolor frame mismatching between PAL-based color video source andreference signals in a manner similar to that set forth above withreference to an NTSC-based system. In particular, multiplexer 58 ofphase detector 10 allows PAL-based color video source and referencesignals to be processed in alternation for color frame mismatchdetection.

FIG. 6 is a flow diagram of the method by which phase detector 10acquires samples of a PAL-based video signal. The flow diagram of FIG. 6is described with reference to the exemplary sample lines set forthabove.

Process block 610 represents the start of the sampling of PAL-basedsignal by phase detector 10.

Process block 612 indicates that subcircuit 78 "assumes" that the nextodd-numbered color field corresponds to color field 1 in the eight-colorfield sequence. As a result, phase detector 10 processes the nextodd-numbered color field as if it were color field 1.

Process block 614 indicates that timing subcircuit 78 generates controlsignals in response to which phase detector 10 acquires phase samplesfor lines numbered N and N+1 (e.g., lines 17 and 18) of the nextodd-numbered color field.

Process block 616 indicates that phase detector 10 determines thepolarity of the SC/H vectors corresponding to the sampled pair of lines.In particular, the polarities of the SC/H vectors are represented by thelogic state of the reference frame signal that is generated at output478b of amplifier 476b. Since the phase angle of the reference signal isassumed to be 0° and the U encoding signal is proportional to the sinefunction, the u" vector corresponding to a reference frame sample has azero value. The polarity of the V encoding signal (i.e., the v" vector)represented by the logic state of the reference frame signal generatedat output 478b is, therefore, indicative of the polarity of the SC/Hvector.

Decision block 618 represents an inquiry as to whether of the SC/Hvectors for either of the lines 17 and 18 is of a negative polarity.Whenever the timing subcircuit 78 determines that the SC/H vector for atleast one of the lines 17 and 18 is of a negative polarity, decisionblock 618 returns to process block 612. Whenever timing subcircuit 78determines that the SC/H vectors for both of the lines 17 and 18 are ofa positive polarity, decision block 618 proceeds to status block 620,which indicates that the eight-color field sequence has been identified.

Decision block 622 represents an inquiry as to whether the present colorfield is the final one in the eight-color field sequence. Whenever thepresent color field is the final one in the eight-color field sequence,decision block 622 returns to process block 612. Whenever the presentcolor field is not the last one in the eight-color field sequence,decision block 622 proceeds to process block 624.

Process block 624 indicates that timing subcircuit 78 decreases by onethe value of N, thereby to identify, for example, lines 16 and 17.Process block 624 returns to process block 614.

FIGS. 7A and 7B show respective first and second alternative visualdisplay images 630a and 630b that could be generated on a display screenof an X-Y monitor in a manner similar to that in which visual displayimage 572 (FIG. 4A) is generated. With respect to FIGS. 7A and 7B,selected reference locations 632a and 632b on the display screen of theX-Y monitor correspond to the zero degree phase angle between the colorsynchronization burst signal and the horizontal synchronization pulse(i.e., the SC/H phase angle).

Image 630a comprises a horizontal straight line that is aligned with theX-axis on the X-Y monitor and that has a length 634a that is directlyproportional to the amplitude of the signal provided at output 464c(FIG. 3B) of amplifier 462c (FIG. 3B). This signal corresponds to theB-Y and the U encoding signals in NTSC-based and PAL-based systems,respectively. Image 630a differs from image 572 (FIG. 4A) in that theformer is fixed at its corresponding reference location 632a. Inaddition, image 630a may be rendered with a light intensity that isproportional to the SC/H phase angle.

Image 630b comprises a geometric shape in the form of a rectangle havinglengths 634b and 636b along the respective X- and Y-axes on the X-Ymonitor. Although the lengths 634b and 636b of image 630b could both beproportional to the amplitude of the signal provided at output 464c(FIG. 3b) of amplifier 462c (FIG. 3b), image 630b is described such thatlength 636b is proportional to this signal and length 634b is fixed.Image 630b is similar to image 630a in that the former may be renderedwith a light intensity that is proportional to the SC/H phase angle. Itwill be appreciated that image 630b could be implemented as a geometricshape other than a rectangle such as, for example, a diamond, atriangle, or a circle.

In a preferred embodiment, the lengths 634a and 636b of respectiveimages 630a and 630b are proportional to sinusoidal functions of theSC/H phase angle. Rendering the size of images 630a and 630b inaccordance with a sinusoidal function of the SC/H phase angle providesan image that increases in size as the phase error increases. As aresult, images 630a and 630b are more likely to be noticed by anobserver as the magnitude of the SC/H phase angle increases. Inaddition, rendering images 630a and 630b with light intensities that areproportional to the SC/H phase angle also makes the images more likelyto be noticed by an observer.

The sine function has a slope which is at a maximum value for phaseangles of zero degrees. As a result, changes in a phase angle that is inthe vicinity of zero degrees cause comparatively large changes in thelengths 634a and 636b of images 630a and 630b, respectively. Suchcharacteristics of images 630a and 630b aid an observer indistinguishing relatively small changes in phase angles that are in thevicinity of zero degrees. Although described with reference to the sinefunction, other functions having a slope that is a maximum in thevicinity of zero degrees would provide the display benefits of thepresent invention.

To provide an observer an indication of a color frame mismatch, image572 (FIG. 4a) was "flashed". Such "flashing" represented atime-dependent variation in the character of image 572. In connectionwith images 630a and 630b, a color frame mismatch may be represented asa time-dependent variation of the intensity (i.e., "flashing"), thesize, or the location of images 630a and 630b. Such time-dependentvariations in images 630a and 630b are relatively distinctive andprovide, therefore, a noticeable warning to an observer of a color framemismatch.

It will be obvious to those having skill in the art that many changesmay be made to the details of the above-described preferred embodimentof the present invention without departing from the underlyingprinciples thereof. The scope of the present invention should bedetermined, therefore, only by the following claims.

I claim:
 1. In a system that measures the phase angle between thehorizontal synchronization pulse and the color synchronization burstsignal of a color video signal, a method of displaying the value of thephase angle on a video monitor display screen, comprising:selecting onthe display screen of the video monitor an image location at which thevalue of the phase angle is displayed; and forming on the display screenan image that has a length along a first axis passing through the imagelocation and that has a light intensity, the length and the lightintensity being proportional to the value of the phase angle.
 2. Themethod of claim 1 in which one of the length and the light intensity isproportional to a first function of the phase angle, the first functionhas a slope, and the absolute value of the slope is a maximum when thephase angle is substantially equal to a preselected value, thereby toprovide comparatively large changes in the image whenever the value of aphase angle in the vicinity of the preselected value change.
 3. Themethod of claim 2 in which the preselected value of the phase angle iszero degrees.
 4. The method of claim 2 in which the image furtherincludes a length along a second axis transverse to the first axis andin which the length of the image along the first axis is proportional tothe first function.
 5. The method of claim 4 in which the image is ofgeometric shape.
 6. The method of claim 4 in which the image is ofrectangular shape.
 7. The method of claim 1 in which the system iscapable of detecting a mismatch between the color frame sequences of acolor video source signal and a color video reference signal and inwhich the method further comprises providing a time-dependent variationin the length or light intensity of the image whenever a color framemismatch is detected.
 8. In a system that measures the phase anglebetween the horizontal synchronization pulse and the colorsynchronization burst signal of a color video signal, the system beingcapable of detecting a mismatch between the color frame sequences of acolor video signal and a color video reference signal, a method ofdisplaying the value of the phase angle on a video monitor displayscreen, comprising:selecting on the display screen of the video monitoran image location at which the value of the phase angle is displayed;forming on the display screen an image that has a length along a firstaxis passing through the image location and that has a light intensity,wherein one of the length or the light intensity is proportional to thevalue of the phase angle; and providing a time-dependent variation inthe length or light intensity of the image whenever a color framemismatch is detected.
 9. The method of claim 8 in which the one of thelength and the light intensity is proportional to a first function ofthe phase angle, the first function has a slope, and the absolute valueof the slope is a maximum when the phase angle is substantially equal toa preselected value, thereby to provide comparatively large changes inthe image whenever the value of a phase angle in the vicinity of thepreselected value changes.
 10. The method of claim 9 in which thepreselected value of the phase angle is zero degrees.
 11. The method ofclaim 9 in which the image further includes a length along a second axistransverse to the first axis and in which the length of the image alongthe first axis is proportional to the first function.
 12. The method ofclaim 11 in which the image is of geometric shape.
 13. The method ofclaim 11 in which the image is of rectangular shape.